package com.xlongwei.todays.view;

import java.time.LocalDate;

import org.noear.snack.annotation.ONodeAttr;
import org.noear.solon.validation.annotation.Min;
import org.noear.solon.validation.annotation.Pattern;

import lombok.Data;

@Data
public class MydoQuery {
    @Min(1)
    private Integer userid;
    @Min(1)
    private Integer todoid;
    @ONodeAttr(format = "yyyy-MM-dd")
    private LocalDate today;
    @Pattern("[012]")
    private String status;
}
